AKS Fleet 2026-05-01-preview API version#41422
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
Comment generated by summarize-checks workflow run. |
* [fleet] Adding mesh member property to fleet member api (#39540) * adding mesh member typespec definition * added meshmember model to fleetmember * adjusted provisioning state * fixed meshmember model definition to not be a resource * removed incorrect name field from mesh member property * removed excess imports * final fixes * ran tsp compile * rename mesh member state property Co-authored-by: dvadas <davidvadas@microsoft.com> * applying suggested changes * adjusted doc line for mesh member prop --------- Co-authored-by: dvadas <davidvadas@microsoft.com> * Delete 2025-08-02-clustermesh version of fleets.json * Add clustermeshprofile.tsp and meshmember.tsp. * Ran tsp format. * Add examples for clusterMeshProfile APIs. * Make clusterMeshProfile status optional, since on create it will be nil. * Add missing "state" field to Member meshProperties example. * Improve doc comments and allow memberLabelSelector to be nil. * Run prettier to remove blank line. --------- Co-authored-by: zuhair <48816804+zuhairm2001@users.noreply.github.com>
* Extract label selector out to its own model. * No restrictions in the generic selector. * Update examples to match tsp changes.
…atus (#41124) * fix: update last applied member label selector to member selector in cluster mesh profile * tidy + example fix * fix incorrect name --------- Co-authored-by: Sean Hobbs <sehobbs@microsoft.com>
bd551d3 to
6abf7f9
Compare
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
Comment generated by After APIView workflow run. |
|
Please address avocado and lintdiff errors. |
There was a problem hiding this comment.
Pull request overview
Adds new ContainerService Fleet (ARM control plane) preview API versions and updates the Fleet TypeSpec + generated Swagger/examples to reflect new features and clarified semantics.
Changes:
- Introduces preview API versions
2026-03-02-previewand2026-05-01-previewin the Fleet TypeSpec and generated Swagger. - Adds new/updated Fleet concepts (e.g., mesh member status models, scheduled start gates, rollout strategy, failure counts) and propagates them into examples.
- Updates generator configuration (
tspconfig.yaml) and refreshes example artifacts for the new preview versions.
Reviewed changes
Copilot reviewed 198 out of 200 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/update/run.tsp | Adds read-only failure count fields to update-run status models for the new preview version. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/tspconfig.yaml | Configures the TypeSpec autorest emitter to use a project-root examples directory. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2025-03-01/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2024-04-01/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/stable/2023-10-15/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/selector.tsp | Adds MemberSelector TypeSpec model. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/readme.md | Updates default autorest tag and adds a package-2026-03-02-preview tag block/suppressions. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/UpdateStrategies_Get.json | Adds swagger example for getting an update strategy. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/UpdateStrategies_Delete.json | Adds swagger example for deleting an update strategy. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/UpdateRuns_Delete.json | Adds swagger example for deleting an update run. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/Operations_List.json | Adds swagger example for provider operations listing. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/Gates_Update.json | Adds swagger example for updating a gate. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/Gates_Get_ScheduledStart.json | Adds swagger example for getting a scheduled-start gate. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/Gates_Get.json | Adds swagger example for getting a gate. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/Fleets_PatchTags.json | Adds swagger example for patching fleet tags. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/Fleets_ListCredentialsResult.json | Adds swagger example for listing fleet credentials. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/Fleets_Get.json | Adds swagger example for getting a fleet. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/Fleets_Delete.json | Adds swagger example for deleting a fleet. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/FleetMembers_Update.json | Adds swagger example for updating a fleet member. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/FleetMembers_ListByFleet.json | Adds swagger example for listing fleet members. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/FleetMembers_Get.json | Adds swagger example for getting a fleet member. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/FleetMembers_Delete.json | Adds swagger example for deleting a fleet member. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/FleetManagedNamespaces_Delete.json | Adds swagger example for deleting a managed namespace. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/ClusterMeshProfiles_ListByFleet.json | Adds swagger example for listing cluster mesh profiles. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/ClusterMeshProfiles_Get.json | Adds swagger example for getting a cluster mesh profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/ClusterMeshProfiles_Delete.json | Adds swagger example for deleting a cluster mesh profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/ClusterMeshProfiles_Apply.json | Adds swagger example for applying a cluster mesh profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/AutoUpgradeProfiles_ListByFleet.json | Adds swagger example for listing auto-upgrade profiles. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/AutoUpgradeProfiles_Get.json | Adds swagger example for getting an auto-upgrade profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/AutoUpgradeProfiles_Delete.json | Adds swagger example for deleting an auto-upgrade profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/examples/AutoUpgradeProfileOperations_GenerateUpdateRun.json | Adds swagger example for generating an update run. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/UpdateStrategies_ListByFleet.json | Adds swagger example for listing update strategies. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/UpdateStrategies_Get.json | Adds swagger example for getting an update strategy. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/UpdateStrategies_Delete.json | Adds swagger example for deleting an update strategy. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/UpdateRuns_Delete.json | Adds swagger example for deleting an update run. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/Operations_List.json | Adds swagger example for provider operations listing. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/Gates_Update.json | Adds swagger example for updating a gate. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/Gates_ListByFleet.json | Adds swagger example for listing gates. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/Gates_Get.json | Adds swagger example for getting a gate. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/Fleets_PatchTags.json | Adds swagger example for patching fleet tags. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/Fleets_ListCredentialsResult.json | Adds swagger example for listing fleet credentials. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/Fleets_Get.json | Adds swagger example for getting a fleet. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/Fleets_Delete.json | Adds swagger example for deleting a fleet. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/FleetMembers_Update.json | Adds swagger example for updating a fleet member. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/FleetMembers_ListByFleet.json | Adds swagger example for listing fleet members. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/FleetMembers_Get.json | Adds swagger example for getting a fleet member. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/FleetMembers_Delete.json | Adds swagger example for deleting a fleet member. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/FleetManagedNamespaces_Delete.json | Adds swagger example for deleting a managed namespace. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/ClusterMeshProfiles_ListByFleet.json | Adds swagger example for listing cluster mesh profiles. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/ClusterMeshProfiles_Get.json | Adds swagger example for getting a cluster mesh profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/ClusterMeshProfiles_Delete.json | Adds swagger example for deleting a cluster mesh profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/ClusterMeshProfiles_Apply.json | Adds swagger example for applying a cluster mesh profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/AutoUpgradeProfiles_ListByFleet.json | Adds swagger example for listing auto-upgrade profiles. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/AutoUpgradeProfiles_Get.json | Adds swagger example for getting an auto-upgrade profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/AutoUpgradeProfiles_Delete.json | Adds swagger example for deleting an auto-upgrade profile. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-03-02-preview/examples/AutoUpgradeProfileOperations_GenerateUpdateRun.json | Adds swagger example for generating an update run. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-02-01-preview/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-08-01-preview/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2025-04-01-preview/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-05-02-preview/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2024-02-02-preview/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-08-15-preview/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json | Updates the description text for an update-strategy group name field. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/meshmember.tsp | Adds mesh member models referenced from fleet members. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/main.tsp | Adds new preview versions and imports for additional TypeSpec files. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/kubefleet/apis/placement/v1/types.tsp | Adds rollout strategy modeling and versioned optionality changes. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/helpers.tsp | Adds DayOfWeek union and versioning usage in helpers. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/gate.tsp | Adds ScheduledStart gate type and its properties. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/fleetnamespace.tsp | Adds patchable properties model updates and versioned optionality changes. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/fleetmember.tsp | Adds meshProperties to fleet member properties. |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/UpdateStrategies_Get.json | Adds TypeSpec-source example for update strategy get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/UpdateStrategies_Delete.json | Adds TypeSpec-source example for update strategy delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/UpdateRuns_Delete.json | Adds TypeSpec-source example for update run delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Operations_List.json | Adds TypeSpec-source example for operations list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Gates_Update.json | Adds TypeSpec-source example for gates update (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Gates_Get_ScheduledStart.json | Adds TypeSpec-source example for scheduled-start gate get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Gates_Get.json | Adds TypeSpec-source example for gate get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Fleets_PatchTags.json | Adds TypeSpec-source example for fleet patch tags (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Fleets_ListCredentialsResult.json | Adds TypeSpec-source example for fleet list credentials (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Fleets_ListBySub.json | Adds TypeSpec-source example for fleets list by subscription (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Fleets_Get.json | Adds TypeSpec-source example for fleet get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/Fleets_Delete.json | Adds TypeSpec-source example for fleet delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/FleetMembers_Update.json | Adds TypeSpec-source example for fleet member update (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/FleetMembers_ListByFleet.json | Adds TypeSpec-source example for fleet members list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/FleetMembers_Get.json | Adds TypeSpec-source example for fleet member get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/FleetMembers_Delete.json | Adds TypeSpec-source example for fleet member delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/FleetManagedNamespaces_Delete.json | Adds TypeSpec-source example for managed namespaces delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/ClusterMeshProfiles_ListByFleet.json | Adds TypeSpec-source example for cluster mesh profile list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/ClusterMeshProfiles_Get.json | Adds TypeSpec-source example for cluster mesh profile get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/ClusterMeshProfiles_Delete.json | Adds TypeSpec-source example for cluster mesh profile delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/ClusterMeshProfiles_Apply.json | Adds TypeSpec-source example for cluster mesh profile apply (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/AutoUpgradeProfiles_ListByFleet.json | Adds TypeSpec-source example for auto-upgrade profiles list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/AutoUpgradeProfiles_Get.json | Adds TypeSpec-source example for auto-upgrade profile get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/AutoUpgradeProfiles_Delete.json | Adds TypeSpec-source example for auto-upgrade profile delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-05-01-preview/AutoUpgradeProfileOperations_GenerateUpdateRun.json | Adds TypeSpec-source example for generating update run (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/UpdateStrategies_ListByFleet.json | Adds TypeSpec-source example for update strategies list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/UpdateStrategies_Get.json | Adds TypeSpec-source example for update strategy get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/UpdateStrategies_Delete.json | Adds TypeSpec-source example for update strategy delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/UpdateRuns_Delete.json | Adds TypeSpec-source example for update run delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Operations_List.json | Adds TypeSpec-source example for operations list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Gates_Update.json | Adds TypeSpec-source example for gates update (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Gates_ListByFleet.json | Adds TypeSpec-source example for gates list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Gates_Get.json | Adds TypeSpec-source example for gate get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Fleets_PatchTags.json | Adds TypeSpec-source example for fleet patch tags (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Fleets_ListCredentialsResult.json | Adds TypeSpec-source example for fleet list credentials (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Fleets_ListBySub.json | Adds TypeSpec-source example for fleets list by subscription (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Fleets_Get.json | Adds TypeSpec-source example for fleet get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/Fleets_Delete.json | Adds TypeSpec-source example for fleet delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/FleetMembers_Update.json | Adds TypeSpec-source example for fleet member update (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/FleetMembers_ListByFleet.json | Adds TypeSpec-source example for fleet members list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/FleetMembers_Get.json | Adds TypeSpec-source example for fleet member get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/FleetMembers_Delete.json | Adds TypeSpec-source example for fleet member delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/FleetManagedNamespaces_Delete.json | Adds TypeSpec-source example for managed namespaces delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/ClusterMeshProfiles_ListByFleet.json | Adds TypeSpec-source example for cluster mesh profile list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/ClusterMeshProfiles_Get.json | Adds TypeSpec-source example for cluster mesh profile get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/ClusterMeshProfiles_Delete.json | Adds TypeSpec-source example for cluster mesh profile delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/ClusterMeshProfiles_Apply.json | Adds TypeSpec-source example for cluster mesh profile apply (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/AutoUpgradeProfiles_ListByFleet.json | Adds TypeSpec-source example for auto-upgrade profiles list (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/AutoUpgradeProfiles_Get.json | Adds TypeSpec-source example for auto-upgrade profile get (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/AutoUpgradeProfiles_Delete.json | Adds TypeSpec-source example for auto-upgrade profile delete (for emitter). |
| specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/examples/2026-03-02-preview/AutoUpgradeProfileOperations_GenerateUpdateRun.json | Adds TypeSpec-source example for generating update run (for emitter). |
| import "@azure-tools/typespec-azure-core"; | ||
| using TypeSpec.Versioning; | ||
|
|
||
| namespace Microsoft.ContainerService; | ||
|
|
||
| @doc("Select members of a fleet.") | ||
| @added(Versions.v2026_03_02_preview) | ||
| model MemberSelector { | ||
| @doc("Kubernetes-style label selector for selecting Fleet members, e.g. `env=production`.") | ||
| @maxLength(512) | ||
| @visibility(Lifecycle.Read, Lifecycle.Create) | ||
| byLabel: string; |
There was a problem hiding this comment.
Lifecycle is referenced but Azure.Core is not imported into the file scope, which will fail TypeSpec compilation. Add using Azure.Core; (or fully-qualify Azure.Core.Lifecycle) before using Lifecycle.* in @visibility.
| import "@typespec/rest"; | ||
| import "./helpers.tsp"; | ||
|
|
||
| using TypeSpec.Versioning; | ||
|
|
||
| namespace Microsoft.ContainerService; | ||
|
|
||
| scalar ClusterMeshProfileResourceId | ||
| extends Azure.Core.armResourceIdentifier<[ | ||
| { | ||
| type: "Microsoft.ContainerService/fleets/clusterMeshProfiles", | ||
| } | ||
| ]>; | ||
|
|
||
| @added(Versions.v2026_03_02_preview) | ||
| @doc("The Mesh Member data for a Fleet Member resource.") | ||
| model MeshProperties { | ||
| @doc("The Cilium cluster properties.") | ||
| @visibility(Lifecycle.Read) | ||
| ciliumProperties: CiliumProperties; | ||
|
|
There was a problem hiding this comment.
This file references Azure.Core.armResourceIdentifier, utcDateTime, and Lifecycle.* but does not include using Azure.Core; (and relies on unqualified Lifecycle). This will likely break TypeSpec compilation; add using Azure.Core; (or fully-qualify Azure.Core symbols) in this file.
| "responses": { | ||
| "202": { | ||
| "description": "Resource deletion accepted.", | ||
| "headers": { | ||
| "Location": { | ||
| "type": "string", | ||
| "description": "The Location header contains the URL where the status of the long running operation can be checked." | ||
| }, | ||
| "Retry-After": { | ||
| "type": "integer", | ||
| "format": "int32", | ||
| "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." | ||
| } | ||
| } | ||
| }, | ||
| "204": { | ||
| "description": "Resource does not exist." | ||
| }, | ||
| "default": { |
There was a problem hiding this comment.
ARM delete operations should include a 200 success response in addition to 202 (async accepted), 204, and default (RPC-Delete-V1-01). FleetManagedNamespaces_Delete currently defines only 202 and 204; add a 200 response.
7bf653c to
c9c58f6
Compare
| @doc("A reference to an existing cluster staged update strategy.") | ||
| model ClusterUpdateStrategyReference { | ||
| @doc("The name of an existing cluster staged update strategy.") | ||
| name?: string; |
There was a problem hiding this comment.
If made required, it would fail RPC-Patch-V1-10 - "Properties of a PATCH request body must not be required"
{"pluginName":"spectral","extensionName":"@microsoft.azure/openapi-validator","level":"error","message":"Properties of a PATCH request body must not be required, property:name.","code":"PatchBodyParametersSchema","details":{"jsonpath":["paths","/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/managedNamespaces/{managedNamespaceName}","patch","parameters","6","schema","properties","properties"],"validationCategory":"","providerNamespace":false,"resourceType":false,"rpcGuidelineCode":"RPC-Patch-V1-10","range":{"start":{"line":1,"column":0},"end":{"line":1,"column":0}}},"source":[{"document":"file:///home/runner/work/azure-rest-api-specs/azure-rest-api-specs/after/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2026-05-01-preview/fleets.json","position":{"line":1782,"column":13}}]}
There was a problem hiding this comment.
Discussed in this PR #41809 (comment)
Now we are just confirming that after seeing test failure
There was a problem hiding this comment.
* init * tsp compile + fix enum name
67bb10a to
03e94dc
Compare
Co-authored-by: Sean Hobbs <sehobbs@microsoft.com>
* add memberselector to updatestage ts * update tspconfig to reference examples-dir * add examples/2026-05-01-preview dir * update 2026-05-01-preview/examples * tsp compile --------- Co-authored-by: yoobinshin <yoobinshin@microsoft.com>
… Staged Update Run and enhance PATCH for Managed Namespace (#41809)
…iew (#41988) * add memberselector to updategroup in typespec * update examples * compile tsp and regenerate swagger * update comments --------- Co-authored-by: yoobinshin <yoobinshin@microsoft.com>
Co-authored-by: yoobinshin <yoobinshin@microsoft.com>
Signed-off-by: Wei Weng <Wei.Weng@microsoft.com>
* readd removed maf fields * Run tsp compile --------- Co-authored-by: Sean Hobbs <sehobbs@microsoft.com> Co-authored-by: Wei Weng <Wei.Weng@microsoft.com>
There was a problem hiding this comment.
In the block above for @armResourceOperations, I think we may want to override where to retrieve the final state of the resource like FleetMember and Fleet async patches?
@extension(
"x-ms-long-running-operation-options",
#{ `final-state-via`: "original-uri" }
)
update is ArmCustomPatchAsync<
FleetManagedNamespace,
FleetManagedNamespacePatch,
Azure.ResourceManager.Foundations.BaseParameters<FleetManagedNamespace> &
IfMatchParameters<FleetManagedNamespace>
>;Without the override, ArmCustomPatchAsync defaults to final-state-via: "location". And SDK polls the Location URL, gets an empty body, and the CLI command for az fleet namespace update doesn't print anything.

ARM (Control Plane) API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting helpsection at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!
Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.
Additional information
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiViewcomment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.
Getting help
Purpose of this PRandDue diligence checklist.write accessper aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Mergecomment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queuedstate, please add a comment with contents/azp run.This should result in a new comment denoting a
PR validation pipelinehas started and the checks should be updated after few minutes.